<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mint="mint.dtd" version="1.0">
  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
  <xsl:template match="/">
    <html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>
          <xsl:value-of select="root/label" mint:id="titlePlug"/>
        </title>
        <style type="text/css">.table { border: 2px inset grey; }</style>
      </head>
      <body>
        <h1>
          <xsl:value-of select="root/label" mint:id="titlePlug"/>
        </h1>
        <table cellpadding="0" class="table">
          <tr>
            <th>a</th>
            <th>b</th>
          </tr>
          <xsl:for-each select="root/row" mint:id="data">
            <tr>
              <td>
                <xsl:value-of select="val1" mint:id="val1"/>
              </td>
              <td>
                <xsl:value-of select="val2" mint:id="val2"/>
              </td>
            </tr>
          </xsl:for-each>
        </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
